//
//  GrayLabel.m
//  LiangYa_BObject
//
//  Created by dllo on 15/11/6.
//  Copyright © 2015年 YuHao. All rights reserved.
//

#import "GrayLabel.h"

@implementation GrayLabel

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/



- (instancetype)init
{
    self = [super init];
    if (self) {
        if ([[NSUserDefaults standardUserDefaults]boolForKey:@"nightstyle"]) {
            self.textColor = [UIColor whiteColor];
        }else{
            self.textColor = [UIColor grayColor];
        }
    }
    return self;
}

@end
